import request from '@/utils/request'

// 查询报告信息列表
export function listCompassReport(query) {
    return request({
        url: '/system/CompassReport/list',
        method: 'get',
        params: query
    })
}

// 查询报告信息详细
export function getCompassReport(id) {
    return request({
        url: '/system/CompassReport/' + id,
        method: 'get'
    })
}

// 新增报告信息
export function addCompassReport(data) {
    return request({
        url: '/system/CompassReport',
        method: 'post',
        data: data
    })
}

// 修改报告信息
export function updateCompassReport(data) {
    return request({
        url: '/system/CompassReport',
        method: 'put',
        data: data
    })
}

// 删除报告信息
export function delCompassReport(id) {
    return request({
        url: '/system/CompassReport/' + id,
        method: 'delete'
    })
}

// 导出报告信息
export function exportCompassReport(query) {
    return request({
        url: '/system/CompassReport/export',
        method: 'get',
        params: query
    })
}


